﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Client.App.ViewModels.Interfaces;
using Core.Mvvm;

namespace Client.App.ViewModels.Implementations
{
    public class ProcessingBlockViewModel : NotifiedObject, IProcessingBlockViewModel
    {
        private string _name;
        private Type _type;

        public string Name
        {
            get { return _name; }
            set { SetProperty(ref _name, value, () => this.Name); }
        }
        public Type Type 
        { 
            get { return _type; }
            set { SetProperty(ref _type, value, () => this.Type); }
        }

        public ProcessingBlockViewModel(string name, Type type)
        {
            this.Name = name;
            this.Type = type;
        }
    }
}
